package cn.web.demo.service;

import cn.web.demo.model.CourseOrder;
import cn.web.demo.model.PageResult;
import cn.web.demo.model.User;

public interface IUserService {

    public User findByUsername(String username);

    public PageResult<User> findPageResult(User condition, int page, int pageSize);

    public void save(User user,Integer [] RoleId);

    public User findUserAndRolesByUserId(Integer id);
}
